<!DOCTYPE html>
<?php session_start(); ?>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>Bookstore - Admin Login</title>
  <link rel="stylesheet" href="css/style.css">
  <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  <style type="text/css">
  	div.error{
  	background:#FFC2DE;
  	margin:0;
  	width:100%;
  	padding:20px;
  	}
  </style>
</head>
<body>
<?php if (isset($_SESSION['ERROR'])) { ?>
<div class="error">
	<?php foreach ($_SESSION['ERROR'] as $err){ ?>
	<p><?php echo $err; ?></p>
	<?php } ?>
</div>
<?php } ?>
  <section class="container">
    <div class="login">
      <h1>Login</h1>
      <form method="post" action="execute/login.php">
        <p><input type="text" name="username" value="" placeholder="Username"></p>
        <p><input type="password" name="password" value="" placeholder="Password"></p>
        
        <p class="submit"><input type="submit" style="width: 88%;" name="commit" value="Login"></p>
      </form>
    </div>

  </section>

  
</body>
</html>
